import { defHttp } from '/@/utils/http/axios';
import { useMessage } from "/@/hooks/web/useMessage";

const { createConfirm } = useMessage();



export const getOrderInfo = (params) => defHttp.get({ url: '/crm/cProjectApplication/getOrderInfo', params });


export const getContractorInfoList = (params) => defHttp.get({ url: '/crm/cContractorInfo/contractorInfoList', params });


export const getMaterialList = (params) => defHttp.get({ url: '/crm/cMaterial/materialList', params });


export const postSubmitReview = (params) => defHttp.post({ url: '/project/cSubProject/submitReview', params });

export const getSubProjectInfo = (params) => defHttp.get({ url: '/project/cSubProject/queryById', params });

export const getSubProjectTask = (params) => defHttp.get({ url: '/crm/cSubProjectTask/cSubProjectTask', params });

export const postAuditSubProject = (params) => defHttp.post({ url: '/project/cSubProject/audit', params });


export const postSaveContractorId = (params) => defHttp.post({ url: '/project/cSubProject/saveContractorId', params });

export const getOcrAssistant = (params) => defHttp.get({ url: '/glm4vflash/ocr-assistant', params,timeout: 60000});//超时1分钟









